/**
 * <p>Title: Product.java>
 * <p>Description: 设计模式-建造者模式：具体的产品对象
 * <p>Company: YSS
 * @author yangsongsong
 * @date 2019年1月9日
 */
package com.yss.builder;
@SuppressWarnings("unused")
public class Product {
	
	private String name;
	
	private String sex;
	
	private int age;
	
	private String address;

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the sex
	 */
	public String getSex() {
		return sex;
	}

	/**
	 * @param sex the sex to set
	 */
	public void setSex(String sex) {
		this.sex = sex;
	}

	/**
	 * @return the age
	 */
	public int getAge() {
		return age;
	}

	/**
	 * @param age the age to set
	 */
	public void setAge(int age) {
		this.age = age;
	}

	/**
	 * @return the address
	 */
	public String getAddress() {
		return address;
	}

	/**
	 * @param address the address to set
	 */
	public void setAddress(String address) {
		this.address = address;
	}

	/* toString方法
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "Product [name=" + name + ", sex=" + sex + ", age=" + age + ", address=" + address + "]";
	}
	
	
}
